﻿using Infrasturcture.Global.Controls.LobbyMap;

namespace CustomControls.Maps
{
    public class Maps
    {
        public static IMap GetMap(int floorIndex)
        {
            if(floorIndex==null) return null;
            switch (floorIndex)
            {
                case 1:
                    return new GroundFloorMap();
                    break;
                case 2:
                    return new FirstFloorMap();
                case 3:
                    return new SecondFloorMap();
                default:
                    return new GroundFloorMap();
            }
        }
    }
}
